package com.apartment.own.domain.enums;

import com.baomidou.mybatisplus.annotation.IEnum;

import java.io.Serializable;

/**
 * @author sxy
 */
public enum BillTremEnum implements IEnum {
    /**
     *期间不限
     */
    ALL(0, "期间不限", 1),
    /**
     *记账
     */
    PAYMENT_TIME(1, "支付时间", 0),
    /**
     *提交时间
     */
    COMMIT_TIME(2,"提交时间",0),
    /**
     * 审核时间
     */
    CHECK_TIME(3,"审核时间",0);

    private Integer id;
    private String name;
    private Integer select;

    BillTremEnum(Integer id, String name, Integer select) {
        this.id = id;
        this.name = name;
        this.select = select;
    }

    public Integer getSelect() {
        return select;
    }

    public void setSelect(Integer select) {
        this.select = select;
    }

    @Override
    public Serializable getValue() {
        return this.id;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
